import request from '@/utils/request'

export function studentList(pageNum,pageSize) {
  return request({
    url: '/stu/queryPage',
    method: 'get',
    params:{pageNum,pageSize}
  })
}

export function saveStudent(data) {
  return request({
    url: '/stu/save',
    method: 'post',
    data
  })
}

export function removeStudent(stuno) {
  return request({
    url: '/stu/del/'+stuno,
    method: 'delete',
    data
  })
}


export function updateStudentFlagByStuNo(data) {
  return request({
    url: '/user/updateUserFlagById',
    method: 'post',
    data
  })
}
